package com.haiyi.test.demo.service;


import com.haiyi.test.demo.servlet.ServletTest;
import org.springframework.stereotype.Service;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

@Service
public class ServiceA {
    public void printA() throws FileNotFoundException {
        System.out.println("serviceA");
        InputStream is = new FileInputStream("");
        new ServletTest().test();;
    }
}
